find the distance between two coordinate points ex 2